import Vue from "vue";
import App from "./App.vue";
import elementComponent from "@common/elementUI.config";
import router from "@routes/index";
import store from "@store/index";
import { get, post, put, del } from "@server/request";
import '@assets/styles/public.scss';

Vue.config.productionTip = false;
Vue.prototype.$get = get;
Vue.prototype.$post = post;
Vue.prototype.$put = put;
Vue.prototype.$del = del;

elementComponent(Vue);

new Vue({
  router,
  store,
  el: "#root",
  template: "<App />",
  components: { App }
})